package com.hyzh.latte.vehicle.dmo.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 人员轨迹
 * 最好是按照园区分开；
 * @author songkui
 * @since 2024/2/21 17:24
 */
@Data
@EqualsAndHashCode(of ={"id"}, callSuper = false)
@Accessors(chain = true)
@ToString
@TableName("person_track_")
public class PersonTrackRecordPGEntity {

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    //所属园区
    @TableField("park_code")
    private String parkCode;

    //摄像头编码
    @TableField("camera_code")
    private String cameraCode;

    @TableField("add_time")
    private LocalDateTime addTime;

    //OBJECT ID
    @TableField("oid")
    private String oid;


    //经度
    @TableField("lon")
    private String lon;

    //维度
    @TableField("lat")
    private String lat;

    //高度
    @TableField("height")
    private BigDecimal height;



}
